import { readdirSync } from "fs";
import { dirname, join } from "path";
import { fileURLToPath } from "url";
import moduleAlias from "module-alias";
import api from "./serve/api.js";
// import socket from "./serve/socket.js";
// import staticFile from "./serve/staticFile.js";

const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);

// 添加alias导向
moduleAlias.addAliases({
  "@": __dirname,
});

api();
// socket()
// staticFile();
